package com.dinzeer.slashblade_project_slr.client;

import com.dinzeer.legendreliclib.lib.compat.slashblade.SlashBladeCompatEntities;
import com.dinzeer.legendreliclib.lib.compat.slashblade.render.SwordSpriltRender;
import com.dinzeer.slashblade_project_slr.regsiter.SLREntityRegsitry;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.event.EntityRenderersEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import com.dinzeer.slashblade_project_slr.client.render.*;

import static com.dinzeer.slashblade_project_slr.Slashblade_project_slr.MODID;


@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT,modid = MODID)
public class SLRClient {
    @SubscribeEvent
    public static void registerEntityRenderers(EntityRenderersEvent.RegisterRenderers event) {
        event.registerEntityRenderer(SLREntityRegsitry.TheSlashString.get(), TheSringSlashRender::new);
        event.registerEntityRenderer(SLREntityRegsitry.TheHole.get(), TheHoleRender::new);
    }
}
